package cn.kpi.dao.payassessment;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.payassessment.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisDao
public interface TUserPayDAO {
    public List<TUserPay> getTuserPayList(@Param("where") String where)throws Exception;
    public int getTuserPayListCount(@Param("where") String where)throws Exception;
    public List<UserOrgMapEntity> getUserAndOrgid(@Param("where") String where)throws Exception;
    int deleteTuserPayByYearAndMonth(@Param("year")String year,@Param("month") String month);
    int insertUserPayList(List<TUserPay> list);

    public int updatePayListTran(List<TransportationPayVoEntity> list) throws Exception;
    public int updatePayListWork(List<WorkPayVoEntity> list) throws Exception;
    public int updatePayListDeptSW(List<DeptSWPayVoEntity> list)throws Exception;

    public List<outWorkEntity> getOutWorkPayList(@Param("where") String where)throws Exception;

}
